xen/vcpu: Rename the common interfaces for consistency
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 5 Sep 2018 16:48:02 +0000 (16:48 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 17 Sep 2018 11:53:09 +0000 (12:53 +0100)
commit880a4a808fcb9b24058d414fa11918397abc4850
treebb8576c55c7afcc3c9c4dc2db461ae2a82b2d622
parent558408cab99f7d422ab80ed6bf85c67bf13c5ef8
xen/vcpu: Rename the common interfaces for consistency

The vcpu functions are far less consistent than the domain side of things, and
in particular, has vcpu_destroy() for architecture specific functionality.

Perform the following renames:

  * alloc_vcpu      => vcpu_create
  * vcpu_initialise => arch_vcpu_create
  * vcpu_destroy    => arch_vcpu_destroy

which makes the vcpu hierarchy consistent with the domain hierarchy.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain.c
xen/arch/arm/domain_build.c
xen/arch/x86/dom0_build.c
xen/arch/x86/domain.c
xen/common/domain.c
xen/common/domctl.c
xen/common/schedule.c
xen/include/xen/domain.h